package com.ljt.service;

import com.ljt.entity.RoleEntity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created by wb-ljt251780 on 2017/7/28.
 */
public interface RoleService {
    public Page<RoleEntity> findAll(Pageable pageable);

    RoleEntity findById(Long id);

    void saveOrUpdate(RoleEntity roleEntity);
}
